.PHONY:all
all: tcpserver.exe tcpclient.exe

tcpserver.exe:main.cc
	g++ -o $@ $^ -std=c++11
tcpclient.exe:tcpclient.cc
	g++ -o $@ $^ -std=c++11

.PHONY:clean
clean:
	rm -rf tcpserver.exe tcpclient.exe